package com.ebs.md.fxmonitor.marketmonitor.esper;

/**
/**
* Perforce Revision:
*  $File: //depot/MarketData/fxmonitor/main/src/main/java/com/ebs/md/fxmonitor/marketmonitor/esper/SelfMatchingSingleFactStatement.java $
*  $Revision: #3 $  $Change: 116206 $  $DateTime: 2012/10/24 17:01:54 $  $Author: Arik.Sher $
*/

import com.ebs.md.container.esper.AbsStatement;
import com.ebs.md.fxmonitor.marketmonitor.config.ISelfMatchingConfig;


public class SelfMatchingSingleFactStatement
extends AbsStatement<ISelfMatchingConfig>
{
	@Override
	protected String createEplExpression() {
		String str =
		String.format(eplExpressionText
				, config.getSelfMatchThreshold()   // 1. number of hits fired by a trader. basic fact counter to raise alert.
				);
		
		return str;
	}
	
}
